#include <iostream>
#include "skill.h"
#include "skill1.h"
#include "hero.h"
#include "hero_Cao.hpp"
#include "hero_LiBai.hpp"

using namespace std;

/*
*回合制游戏需求：
* 1. 游戏中有一个英雄 一个怪物 每个角色都有生命值属性 以及一个技能
* 2. 英雄和怪物每回合可以使用技能攻击对方 通过获得的伤害计算剩余血量
* 3. 采用回合制（双方依次攻击），每回合英雄先攻击怪物，怪物再攻击英雄
* 4. 当任意一方的生命值降到0以下时，游戏结束
*/



int main(){

    //skill a("jump", 100, 5);
    // skill1 b("fire", 200, 10);
    // cout << b.getName() << b.getDamage() << b.getCD() << endl;

    // Hero hero1("Hero1");
    // cout << "Hero Name: " << hero1.getName() << endl;
    // cout << "Hero HP: " << hero1.getHp() << endl;
    // cout << "Hero Attack: " << hero1.getAttack() << endl;
    // cout << "Hero Defense: " << hero1.getDefense() << endl;

    Hero_Cao heroCao("Cao Cao", 150, 20, 15);
    cout << "Hero Name: " << heroCao.getName() << endl;
    cout << "Hero HP: " << heroCao.getHp() << endl;
    cout << "Hero Attack: " << heroCao.getAttack() << endl;
    cout << "Hero Defense: " << heroCao.getDefense() << endl;
    Hero_LiBai heroLiBai("Li Bai", 120, 25, 10);
    cout << "Hero Name: " << heroLiBai.getName() << endl;
    cout << "Hero HP: " << heroLiBai.getHp() << endl;
    cout << "Hero Attack: " << heroLiBai.getAttack() << endl;
    cout << "Hero Defense: " << heroLiBai.getDefense() << endl;
    return 0;
}